package com.xxx.service;

import com.xxx.Dao.StuDomeImpl;
import com.xxx.pojo.Student;

import java.util.ArrayList;

/**
 * @version v1.0
 * @Description
 * @Author admin
 * @date 2021/7/29  10:51
 * @Copyright
 */

public class StuServiceImp implements StuService {
    public StuServiceImp() {
    }

    @Override
    public int addinsert(ArrayList<Student> list) {
        StuDomeImpl stuDome = new StuDomeImpl();
        return stuDome.insert(list);
    }

    @Override
    public int deleteStu(int StuectId) {
        return 0;
    }

    @Override
    public int updateStu(Student student) {
        return 0;
    }

    @Override
    public ArrayList<Student> queryStu(Student student) {
        StuDomeImpl stuDome = new StuDomeImpl();
        return stuDome.query(student);
    }
}
